﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Sys.WebRes.Publish.Areas.Admin.Models.ResourceModel>" %>
<tr><td class="editor-label">
    <label for="">统计数据</label><br />
    <%= Html.CheckBoxFor(model => model.HasCount)%>
    <label for="IsCount">开启</label>
</td>
<td class="editor-field">
    <table>
        <tr>
            <th class="w50">点击</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.HitCount)%></td>
            <th class="w50">最后访问</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.LastUsedDate,
                    new { @class = "easyui-datetimebox", 
                            @value = String.Format("{0:g}", Model.ResCount.LastUsedDate) })%>
            </td>
        </tr>
        <tr>
            <th class="w50">超赞</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.GoodCount)%></td>
            <th class="w50">赞成</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.FavorCount)%></td>
        </tr>
        <tr>
            <th class="w50">一般</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.NeutralCount)%></td>
            <th class="w50">反对</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.ExceptCount)%></td>
            <th class="w50">超烂</th>
            <td><%= Html.TextBoxFor(model => model.ResCount.BadCount)%></td>
        </tr>
    </table>
</td>
</tr>
